package com.weight.system.menuauth.VO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 菜单权限表
 */
@Data
public class MenuAuthInfoVO implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@Excel(name = "菜单权限id")
	@JSONField(name = "menuAuthId")
	private String menuAuthId; //菜单权限id

	@Excel(name = "菜单id")
	@NotBlank(message = "菜单id不能为空")
	@JSONField(name = "menuId")
	private String menuId; //菜单id

	@Excel(name = "账号id")
	@NotBlank(message = "账号id不能为空")
	@JSONField(name = "operId")
	private String operId; //账号id

	@Excel(name = "菜单权限状态")
	@NotNull(message = "菜单权限状态不能为空")
	@JSONField(name = "authStatus")
	private Integer authStatus; //菜单权限状态

	@Excel(name = "增")
	@NotNull(message = "增不能为空")
	@JSONField(name = "authAdd")
	private Integer authAdd; //增

	@Excel(name = "删")
	@NotNull(message = "删不能为空")
	@JSONField(name = "authDel")
	private Integer authDel; //删

	@Excel(name = "改")
	@NotNull(message = "改不能为空")
	@JSONField(name = "authEdit")
	private Integer authEdit; //改


	public  MenuAuthInfoVO(){
		super();
	}

	public  MenuAuthInfoVO(String menuAuthId,String menuId,String operId,Integer authStatus,Integer authAdd,Integer authDel,Integer authEdit){
		super();
		this.menuAuthId = menuAuthId;
		this.menuId = menuId;
		this.operId = operId;
		this.authStatus = authStatus;
		this.authAdd = authAdd;
		this.authDel = authDel;
		this.authEdit = authEdit;
	}

}